class text {

    public static int sum(int num1, int num2) {
        return num1 + num2;
    }


    public static float sum(float num1, float num2) {
        return num1 + num2;
    }

    public static void main(String[] args) {
        int a = 10;
        System.out.println("a=" + a);


        int intSum = sum(5, 3);
        float floatSum = sum(2.5f, 3.7f);

        System.out.println("Sum of integers: " + intSum);
        System.out.println("Sum of floats: " + floatSum);
    }
}